#include <stdio.h>
#include <stdlib.h>
int main()
{ char a;
FILE *fp;
if
((fp=fopen("na.txt","r"))==NULL)
{
printf("ERROR");
exit(0);
}
while((a=fgetc(fp))!=EOF)
{
printf("%x %c ",a,a);
} fclose(fp);
return 0;
}
